package com.hellobike.haxing.modules.shop.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.hellobike.haxing.modules.shop.entity.ShopWithdrewMonthCount;

import java.math.BigDecimal;

/**
 * <p>
 * 每月提现成功总金额，次年清空 服务类
 * </p>
 *
 * @author clz
 * @since 2020-02-15
 */
public interface IShopWithdrewMonthCountService extends IService<ShopWithdrewMonthCount> {
    /**
     * 审核通过修改月统计金额
     * @param shopId
     * @param amount
     */
    void saveMonthAmount(Long shopId, BigDecimal amount);
    /**
     * 删除小于当前月的提现记录
     */
    void deleteMonthCount();
}
